package com.zwps.common.minio.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "application.minio")
@Getter
@Setter
public class MinioConfigProperties {

    private String url;

    private String accessKey;

    private String secretKey;

    private String bucketName;
    /**
     * 对外提供文件访问地址 示例 http://ip:port
     */
    private String externalUrl;

    /**
     * 内网文件访问地址 示例 http://ip:port
     */
    private String internalUrl;

}
